<template>
	<page-body>
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center ksjl_flex_0_higd"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub ksjl_fd0_0_higd'>
					<view class='flex flex-wrap align-center ksjl_fd0_0_c0_higd' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  ksjl_fd0_0_c0_c0_higd'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='ksjl_fd0_0_c1_c0_higd'>{{$t('考试记录')}}</text>
					</view>
					<view class='flex flex-wrap align-center justify-end ksjl_fd0_0_c0_higd'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex benben-flex-layout flex-wrap align-center">
				<view class='flex flex-wrap align-center ksjl_fd1_0_higd'>
					<template v-for='(item,key0) in list'>
						<view class='flex flex-wrap align-stretch ksjl_fd1_0_c0_higd' @tap.stop="handleJumpDiy"
							data-type="navigateTo" :data-url="`/pageschool/school/ksjg/ksjg?examlog_id=${item.aid}`"
							:key='key0'>
							<image class='ksjl_fd1_0_c0_c0_higd' mode="aspectFill" :src='item.examtask_img_url'></image>
							<view class='flex flex-direction align-stretch flex-sub ksjl_fd1_0_c0_c1_higd'>
								<view class='flex flex-wrap align-center justify-between ksjl_fd1_0_c0_c1_c0_higd'>
									<text class='ksjl_fd1_0_c0_c1_c0_c0_higd'>{{item.examtask_name}}</text>
								</view>
								<view class='flex flex-wrap align-center ksjl_fd1_0_c0_c1_c1_higd'>
									<text class='ksjl_fd1_0_c0_c1_c1_c0_higd'>{{$t('最终成绩：')}}</text>
									<text class='ksjl_fd1_0_c0_c1_c1_c1_higd'>{{item.score}}</text>
								</view>
								<view class='flex flex-wrap align-center ksjl_fd1_0_c0_c1_c1_higd'>
									<text class='ksjl_fd1_0_c0_c1_c1_c0_higd'>{{$t('考试时间：')}}</text>
									<text class='ksjl_fd1_0_c0_c1_c1_c1_higd'>{{item.create_time}}</text>
								</view>
							</view>
						</view>
					</template>
					<fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
						:listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
				</view>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</page-body>
</template>
<script>
	import pagingList from '@/common/mixin/paging_list.js';
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},
		mixins: [pagingList],

		data() {
			return {
				"minixPagingListsApi": "",
				"pageingListApiMethod": "",
				"allowOnloadGetList": false,
				"list": []
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			this.getvg49046bcadcc2Func()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//查询考试记录
			getvg49046bcadcc2Func() {
				this.minixPagingListsApi = global.apiUrls.post649046bcadcc2;
				this.pageingListApiMethod = 'get';
				this.allowOnloadGetList = false;
				this.pagingListPostDataContent = {}
				this.listData = [];
				this.list = this.listData;
				this.pagingListToggle();

			},
			pagingListPostData() {
				return this.pagingListPostDataContent
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;

		.ksjl_fd1_0_higd {
			width: 100%;
			padding: 0rpx 24rpx 0rpx 24rpx;

			.ksjl_fd1_0_c0_higd {
				margin: 0rpx 0rpx 32rpx 0rpx;
				height: 232rpx;
				width: 100%;
				border-radius: 16rpx 16rpx 0rpx 0rpx;
				padding: 0rpx 0rpx 32rpx 0rpx;

				.ksjl_fd1_0_c0_c0_higd {
					width: 258rpx;
					height: 160rpx;
					border-radius: 16rpx;
				}

				.ksjl_fd1_0_c0_c1_higd {
					margin: 0rpx 0rpx 0rpx 24rpx;
					height: 100%;

					.ksjl_fd1_0_c0_c1_c0_higd {
						height: 50rpx;
						margin: 0rpx 0rpx 25rpx 0rpx;

						.ksjl_fd1_0_c0_c1_c0_c0_higd {
							color: rgba(51, 51, 51, 1);
							font-weight: 700;
							-webkit-line-clamp: 1;
							overflow: hidden;
							text-overflow: ellipsis;
							display: -webkit-box;
							-webkit-box-orient: vertical;
						}
					}
				}
			}
		}

		.ksjl_fd1_0_c0_c1_c1_higd {
			height: 50rpx;
		}

		.ksjl_fd1_0_c0_c1_c1_c0_higd {
			font-size: 24rpx;
			color: rgba(99, 99, 99, 1);
		}

		.ksjl_fd1_0_c0_c1_c1_c1_higd {
			color: rgba(99, 99, 99, 1);
			font-size: 24rpx;
		}

		.ksjl_flex_0_higd {
			width: 750rpx;
			height: 88rpx;
			overflow: hidden;
			z-index: 10;
			top: 0rpx;
			background: #fff;
			background-size: 100% auto !important;

			.ksjl_fd0_0_higd {
				padding: 0rpx 32rpx 0rpx 32rpx;

				.ksjl_fd0_0_c1_c0_higd {
					font-size: 36rpx;
					font-weight: 700;
					color: #333333;
					line-height: 50rpx;
				}
			}
		}

		.ksjl_fd0_0_c0_higd {
			width: 120rpx;

			.ksjl_fd0_0_c0_c0_higd {
				font-size: 36rpx;
				color: #333;
			}
		}
	}
</style>
